<!--老师通讯录（整合：化缘）-->
<?php include('header.php') ?>
<div id="mainbody"  >
<div class="col-lg-9" id="charge">
    <table class="table table-bordered" id="work-table">
      <tr id="table-nav">
        
        <td> 姓名</td>

        <td>手机</td>
        
      </tr>
<?php
	
	$sql="SELECT * FROM teach";
	$result=mysql_query($sql) or die("sql语句连接失败");
	while($row=mysql_fetch_array($result)){
			
		
echo <<<HT
          				<tr id="table-nav">
          				<td>$row[1]</td>
          				<td>$row[2]</td>
          				</tr>
          				
HT;
		}   ?>      
  
</table>

<?php include('foot.php') ?>